<template>
	<view class="edit-card">
		<u-popup :show="show" mode="center" round="30rpx" :safeAreaInsetBottom="false">
			<view class="popup-box">
				<view class="content-box">
					<text class="iconfont icon-zhengjian"></text>
					<view class="text">请先完善基础信息</view>
				</view>
				<view class="buttom-box">
					<button class="btn cancel" @click="cancelHandle">取消</button>
					<button class="btn go" @click="goEditInfo">去完善</button>
				</view>
			</view>
		</u-popup>
	</view>
</template>

<script>
	export default {
		data () {
			return {
				show: true,
			}
		},
		methods: {
			cancelHandle () {
				uni.navigateBack()
			},
			goEditInfo () {
				uni.navigateTo({
					url: '/pages/my/card/editInfo'
				})
			}
		}
	}
</script>

<style lang="scss">
.edit-card {
	.popup-box {
		box-sizing: border-box;
		padding: 48rpx;
		width: 640rpx;
		.content-box {
			height: 460rpx;
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
			.iconfont {
				font-size: 177rpx;
				background: linear-gradient(90deg, #29d144, #26bccf);
				background-clip: text;
				color: transparent;
			}
			.text {
				margin-top: 34rpx;
				color: #333333;
				font-size: 34rpx;
				font-weight: bold;
			}
		}
		.buttom-box {
			display: flex;
			gap: 24rpx;
			.btn {
				margin: 0;
				padding: 0;
				height: 100rpx;
				border-radius: 100rpx;
				font-size: 32rpx;
				font-weight: bold;
				line-height: 100rpx;
				&.cancel {
					width: 200rpx;
					color: #333;
					background-color: #dddddd;
				}
				&.go {
					flex: 1;
					color: #fff;
					background-color: #222222;
				}
			}
		}
	}
}
</style>
